package cn.xiaolang.function.design_pattern.publish_observer;

/**
 * 订阅者（添加，移除，通知观察者）
 *
 * @author fuhw/Dean
 * @date 2020-04-07
 */
public interface Publish {

    public void addObserver(Observer observer);

    public void remove(Observer observer);

    public void notifyObservers(String str);
}
